package com.allwees.bs.c.module.user.repository;

import com.allwees.bs.c.module.base.repository.BaseRepository;
import com.allwees.bs.c.module.user.entity.UserCashEntity;
import org.springframework.data.jpa.repository.Query;

public interface UserCashRepository extends BaseRepository<UserCashEntity, Long> {

    @Query(value = "select t from UserCashEntity t where isDeleted = 0 and status = 0 and userUuid=:userUuid")
    UserCashEntity findByUserUuid(String userUuid);
}
